<?php
class Major{
	private $namemajor;
	private $addressmajor;
	private $telephonemajor;

	public function __construct($namemajor=null,$addressmajor=null,$telephonemajor=null){
		$this->namemajor = $namemajor;
		$this->addressmajor = $addressmajor;
		$this->telephonemajor = $telephonemajor;

	}

	public function setNameMajor($namemajor){
		$this->namemajor = $namemajor;
	}
	public function getNameMajor(){
		return $this->namemajor;
	}
	
	
	public function setAddressMajor($addressmajor){
		$this->addressmajor = $addressmajor;
	}
	public function getAddressMajor(){
		return $this->addressmajor;
	}
	
	
	public function setTelMajor($telephonemajor){
		$this->telephonemajor = $telephonemajor;
	}
	public function getTelMajor(){
		return $this->telephonemajor;
	}
	

}



?>